﻿Imports System.Data.OleDb
Imports System.Data

Public Class Gallery
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        ' this is the YouTube Video ID, here you replace by 
        ' the code of the one you want to show 
        Dim VideoID1 As String = "ynI6Q2mUh8E"
        Dim VideoID2 As String = "Yb6OCt0GLe8"
        Dim VideoID3 As String = "Vy7l3iPfuV8"
        Dim VideoID4 As String = "JSF_vDypouY"
        Dim VideoID5 As String = "RWEd-0eKAyI"
        Dim VideoID6 As String = "amb4MIHNu5s"
        Dim VideoID7 As String = "h9ARbs3a5SM"
        Dim VideoID8 As String = "zWJcmWEVzxw"
        Dim VideoID9 As String = "f6f3iB5Nyrw"
        Dim VideoID10 As String = "d0w45md1Lh0"

        ' Here this code you show in the label the YouTube Video that you put the code
        LabelShowYouTubeVideo1.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID1 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID1 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"
        LabelShowYouTubeVideo2.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID2 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID2 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"
        LabelShowYouTubeVideo3.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID3 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID3 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"
        LabelShowYouTubeVideo4.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID4 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID4 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"
        LabelShowYouTubeVideo5.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID5 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID5 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"
        LabelShowYouTubeVideo6.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID6 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID6 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"
        LabelShowYouTubeVideo7.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID7 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID7 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"
        LabelShowYouTubeVideo8.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID8 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID8 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"
        LabelShowYouTubeVideo9.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID9 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID9 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"
        LabelShowYouTubeVideo10.Text = "<object width='425' height='355'><param name='movie' value='https://www.youtube.com/v/" + VideoID10 + " '></param><param name='wmode' value='transparent'></param><embed src='https://www.youtube.com/v/" + VideoID10 + "' type='application/x-shockwave-flash' wmode='transparent' width='425' height='355'></embed></object>"

    End Sub


End Class